# Copyright 2006 BreakMyGentoo.org
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit gnome2 python cvs

DESCRIPTION="PiTiVi is an open source video editor, written in Python and based on GStreamer and GTK+"
HOMEPAGE="http://pitivi.sourceforge.net/"
SRC_URI=""
ECVS_SERVER="anoncvs.gnome.org:/cvs/gnome"
ECVS_MODULE=${PN}
S=${WORKDIR}/${PN}
RESTRICT=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~x86 ~amd64"
IUSE=""

RDEPEND=">=media-libs/gnonlin-0.10.3
	 >=media-libs/gstreamer-0.10.4
	 >=dev-python/pygtk-2.8
	 >=dev-python/gnome-python-2.12
	 >=dev-python/gnome-python-extras-2.12
	 >=dev-lang/python-2.3
	 >=dev-python/gst-python-0.10"

DEPEND="${DEPEND}
	>=dev-util/pkgconfig-0.9"

DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README RELEASE"

src_compile() {
	addwrite /root/.gconfd
	addwrite /root/.gconf
	addwrite /root/.gstreamer-0.10
	NOCONFIGURE=1 ./autogen.sh 
	econf || die "configure failed!"
	emake || die "make failed"
}

